package models

import "time"

// 手机、邮箱等验证码
type VerifyCode struct {
	Id           int64     `orm:"description(自增主键)"`
	Ip           string    `orm:"description(请求ip地址)"`
	Key          string    `orm:"description(手机号、邮箱号等)"`
	Code         string    `orm:"description(验证码)"`
	Count        int       `orm:"description(发送次数)"`
	SendTime     time.Time `orm:"auto_now;type(datetime);description(最后一次发送时间)"`
	SendTimeShow string    `orm:"-"`
}
